package com.zhuiyun.project.api.products.productsort.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuiyun.project.common.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import javax.persistence.Id;

/**
 * @ClassName ProductSort
 * @Description TODO 商品分类关联表
 * @Author ypq
 * @Date 2023/10/26 14:31
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("workshop_product_sort")
public class ProductSort extends BaseEntity {

    /**
    * 商品ID
    */
    @Id
    private Long productId;

    /**
     * 分类id
     */
    @Id
    private Long sortId;
}
